vendor/golang.org/x/crypto/chacha20.Cipher.counter (field)
12 uses
vendor/golang.org/x/crypto/chacha20 (current package)
chacha_generic.go#L40: counter uint32
chacha_generic.go#L157: outputCounter := s.counter - uint32(s.len)/blockSize
chacha_generic.go#L166: if counter < s.counter {
chacha_generic.go#L167: s.len = int(s.counter-counter) * blockSize
chacha_generic.go#L169: s.counter = counter
chacha_generic.go#L217: if s.overflow || uint64(s.counter)+numBlocks > 1<<32 {
chacha_generic.go#L219: } else if uint64(s.counter)+numBlocks == 1<<32 {
chacha_generic.go#L236: if uint64(s.counter)+blocksPerBuf > 1<<32 {
chacha_generic.go#L276: _, c13, c14, c15 = s.counter, s.nonce[0], s.nonce[1], s.nonce[2]
chacha_generic.go#L293: fcr0, fcr4, fcr8, fcr12 := quarterRound(c0, c4, c8, s.counter)
chacha_generic.go#L330: addXor(dst[48:52], src[48:52], x12, s.counter)
chacha_generic.go#L335: s.counter += 1
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |